package leetcodecompetition.D348;

import org.junit.jupiter.api.Test;

import java.util.Arrays;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @Author: Siantar
 * @Date: 2023-06-04-10:31
 * @Description: 1.0
 */
public class T6462 {
    public int minimizedStringLength(String s) {
        return s.chars().mapToObj(a->(char)a).collect(Collectors.toSet()).size();
    }
    @Test
    public void test() {
        System.out.println(minimizedStringLength("aabcd"));
    }
}
